//
//  CHPickerView.h
//  CarFile
//
//  Created by 陈浩 on 2017/7/27.
//  Copyright © 2017年 陈浩. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CHPickerView;

@protocol CHPickerViewDelegate <NSObject>

- (void)pickerViewDidBackToDateStr:(NSString *)dateStr;

@end

@interface CHPickerView : UIView

@property (nonatomic,weak) id<CHPickerViewDelegate> delegate;

+(instancetype)pickerView;


/**
 *  显示日期选择器
 */
-(void)show;
/**
 *  隐藏日期选择器
 */
-(void)dismiss;


@end
